import os
import yaml
from conan import ConanFile
from conan.tools.files import copy

class monitor_logConan(ConanFile):
    name = "monitor_log"
    settings = None
    license = "Mulan PSL v2"
    description = "openubmc monitor log files"
    exports_sources = "src/*"

    def package(self):
        """将 src 目录下的所有文件复制到包中"""
        # 复制 src 目录下的所有文件到包的根目录
        copy(self, "*", 
             src=os.path.join(self.source_folder, "src"),
             dst=os.path.join(self.package_folder))